package com.jswdwsx.esign.protocol.response

import java.io.Serializable

data class DocsDownloadUrlResp(
    val docs: Array<Doc>
) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as DocsDownloadUrlResp

        if (!docs.contentEquals(other.docs)) return false

        return true
    }

    override fun hashCode(): Int {
        return docs.contentHashCode()
    }
}

data class Doc(
    val fileId: String,
    val fileName: String,
    var fileUrl: String
) : Serializable       //flowPO.ossFileUrl 用到 需要序列化